Optimal. Leaf size=75 \[ \frac{1}{4} A b^3 x^4+\frac{1}{5} b^2 x^5 (3 A c+b B)+\frac{1}{7} c^2 x^7 (A c+3 b B)+\frac{1}{2} b c x^6 (A c+b B)+\frac{1}{8} B c^3 x^8 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.167555, antiderivative size = 75, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118 \[ \frac{1}{4} A b^3 x^4+\frac{1}{5} b^2 x^5 (3 A c+b B)+\frac{1}{7} c^2 x^7 (A c+3 b B)+\frac{1}{2} b c x^6 (A c+b B)+\frac{1}{8} B c^3 x^8 \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)*(b*x + c*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 18.6391, size = 68, normalized size = 0.91 \[ \frac{A b^{3} x^{4}}{4} + \frac{B c^{3} x^{8}}{8} + \frac{b^{2} x^{5} \left (3 A c + B b\right )}{5} + \frac{b c x^{6} \left (A c + B b\right )}{2} + \frac{c^{2} x^{7} \left (A c + 3 B b\right )}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(c*x**2+b*x)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0189139, size = 75, normalized size = 1. \[ \frac{1}{4} A b^3 x^4+\frac{1}{5} b^2 x^5 (3 A c+b B)+\frac{1}{7} c^2 x^7 (A c+3 b B)+\frac{1}{2} b c x^6 (A c+b B)+\frac{1}{8} B c^3 x^8 \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)*(b*x + c*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0., size = 76, normalized size = 1. \[{\frac{B{c}^{3}{x}^{8}}{8}}+{\frac{ \left ( A{c}^{3}+3\,Bb{c}^{2} \right ){x}^{7}}{7}}+{\frac{ \left ( 3\,Ab{c}^{2}+3\,B{b}^{2}c \right ){x}^{6}}{6}}+{\frac{ \left ( 3\,A{b}^{2}c+B{b}^{3} \right ){x}^{5}}{5}}+{\frac{A{b}^{3}{x}^{4}}{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(c*x^2+b*x)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.707859, size = 99, normalized size = 1.32 \[ \frac{1}{8} \, B c^{3} x^{8} + \frac{1}{4} \, A b^{3} x^{4} + \frac{1}{7} \,{\left (3 \, B b c^{2} + A c^{3}\right )} x^{7} + \frac{1}{2} \,{\left (B b^{2} c + A b c^{2}\right )} x^{6} + \frac{1}{5} \,{\left (B b^{3} + 3 \, A b^{2} c\right )} x^{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x)^3*(B*x + A),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.312199, size = 1, normalized size = 0.01 \[ \frac{1}{8} x^{8} c^{3} B + \frac{3}{7} x^{7} c^{2} b B + \frac{1}{7} x^{7} c^{3} A + \frac{1}{2} x^{6} c b^{2} B + \frac{1}{2} x^{6} c^{2} b A + \frac{1}{5} x^{5} b^{3} B + \frac{3}{5} x^{5} c b^{2} A + \frac{1}{4} x^{4} b^{3} A \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x)^3*(B*x + A),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.137271, size = 80, normalized size = 1.07 \[ \frac{A b^{3} x^{4}}{4} + \frac{B c^{3} x^{8}}{8} + x^{7} \left (\frac{A c^{3}}{7} + \frac{3 B b c^{2}}{7}\right ) + x^{6} \left (\frac{A b c^{2}}{2} + \frac{B b^{2} c}{2}\right ) + x^{5} \left (\frac{3 A b^{2} c}{5} + \frac{B b^{3}}{5}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(c*x**2+b*x)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.275415, size = 104, normalized size = 1.39 \[ \frac{1}{8} \, B c^{3} x^{8} + \frac{3}{7} \, B b c^{2} x^{7} + \frac{1}{7} \, A c^{3} x^{7} + \frac{1}{2} \, B b^{2} c x^{6} + \frac{1}{2} \, A b c^{2} x^{6} + \frac{1}{5} \, B b^{3} x^{5} + \frac{3}{5} \, A b^{2} c x^{5} + \frac{1}{4} \, A b^{3} x^{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x)^3*(B*x + A),x, algorithm="giac")
[Out]